-- GENERATED SPELL FOR [Doomwhisperer] --


function spell0_18981(pUnit, Event) --@Draining Bolt,Heal--
pUnit:FullCastSpellOnTarget(33969,pUnit)
pUnit:RegisterEvent('Sorts_18981', 3000, 1)
end

function Sorts_18981(pUnit, Event)
local choix_sorts_18981 = math.random(0, 0)
if choix_sorts_18981 == 0 then
pUnit:RegisterEvent('spell0_18981', 1, 1)
end
end

function mob18981_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18981', math.random(1500, 3000), 1)
end

function mob18981_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18981_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18981_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18981, 1, 'mob18981_Action')
RegisterUnitEvent(18981, 2, 'mob18981_Leave')
RegisterUnitEvent(18981, 3, 'mob18981_Kill')
RegisterUnitEvent(18981, 4, 'mob18981_Die')
